package bean;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "movie")
public class Movie implements Serializable{
    
    private static final long serialVersionUID = -6378051048726610671L;
    private int id;
    private String title;
    private String note;
    
    public int getId() {
        return id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    
    public String getTitle() {
        return title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getNote() {
        return note;
    }
    
    @Override
    public String toString() {
        return "ID:"+id+" title:"+title+" note:"+note;
    }
}
